David Büchi [Tue, 16 Dec 2014 10:09:31 +0000 (10:09 +0000)]
powerpc/cm5200: migrate to generic board
Signed-off-by: David Buechi <[email protected]>
Jeremiah Mahler [Mon, 5 Jan 2015 02:56:50 +0000 (18:56 -0800)]
doc: fix grammatical errors in README
Fix various spelling and grammatical errors in the README.
Signed-off-by: Jeremiah Mahler <[email protected]>
Acked-by: Simon Glass <[email protected]>
Karicheri, Muralidharan [Tue, 9 Dec 2014 19:32:26 +0000 (14:32 -0500)]
keystone: set default pci mode to root complex
pci ports are used as root complex in Linux. So set this as default
in u-boot for keystone devices
Signed-off-by: Murali Karicheri <[email protected]>
Felipe Balbi [Wed, 10 Dec 2014 20:16:15 +0000 (14:16 -0600)]
beagle_x15: enable NFS command
NFS is useful for loading zImage and dts through
NFS export. It saves us from running two services
for loading files over the network (tftp and nfs).
Signed-off-by: Felipe Balbi <[email protected]>
Dmitry Lifshitz [Mon, 15 Dec 2014 14:02:59 +0000 (16:02 +0200)]
omap5: cm-t54: add sata support
Add configs required for SATA support on CM-T54 board.
Signed-off-by: Dmitry Lifshitz <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Dmitry Lifshitz [Mon, 15 Dec 2014 14:02:58 +0000 (16:02 +0200)]
arm: omap: reset sata on boot
On OMAP platforms (like OMAP5) Linux kernel fails to detect a SATA
device if it is used by U-Boot.
It happens because U-Boot does not reset SATA controller before boot.
Reset the controller on OS boot so that Linux will have a clean state
to work with.
Signed-off-by: Dmitry Lifshitz <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Dmitry Lifshitz [Mon, 15 Dec 2014 14:02:57 +0000 (16:02 +0200)]
OMAP5+: sata/scsi: implement scsi_bus_reset()
Implement missing scsi_bus_reset() for SCSI subsystem commands
on OMAP platforms.
Signed-off-by: Dmitry Lifshitz <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Dmitry Lifshitz [Mon, 15 Dec 2014 14:02:56 +0000 (16:02 +0200)]
ahci-plat: provide a weak scsi_bus_reset() hook
This allow the platform to handle a custom reset sequence.
Signed-off-by: Dmitry Lifshitz <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Dmitry Lifshitz [Mon, 15 Dec 2014 14:02:55 +0000 (16:02 +0200)]
ahci: introduce ahci_reset()
Extract controller reset code from ahci_host_init() into separate
ahci_reset().
Signed-off-by: Dmitry Lifshitz <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Peter Howard [Wed, 17 Dec 2014 01:14:36 +0000 (12:14 +1100)]
da850evm: Use generic board and libfdt, fix size for SPI flash
Add defines to use CONFIG_SYS_GENERIC_BOARD and CONFIG_OF_LIBFDT.
Semi-separate to this: the size of the image for the da850evm has
increased to the point that the size in da850evm.h and the offset for
the environment in SPI flash no longer work. They are modified to
account for the larger image size.
Signed-off-by: Peter Howard <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Przemyslaw Marczak [Thu, 18 Dec 2014 16:14:17 +0000 (17:14 +0100)]
fs: fat: read: fix fat16 ls/read issue
The present fat implementation ignores FAT16 long name
directory entries which aren't placed in a single sector.
This was becouse of the buffer was always filled by the
two sectors, and the loop was made also for two sectors.
If some file long name entries are stored in two sectors,
the we have two cases:
Case 1:
Both of sectors are in the buffer - all required data
for long file name is in the buffer.
- Read OK!
Case 2:
The current directory entry is placed at the end of the
second buffered sector. And the next entries are placed
in a sector which is not buffered yet. Then two next
sectors are buffered and the mentioned entry is ignored.
- Read fail!
This commit fixes this issue by:
- read two sectors after loop on each single is done
- keep the last used sector as a first in the buffer
before the read of two next
The commit doesn't affects the fat32 imlementation,
which works good as previous.
Signed-off-by: Przemyslaw Marczak <[email protected]>
Cc: Mikhail Zolotaryov <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Suriyan Ramasami <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Tested-by: Simon Glass <[email protected]>
Nishanth Menon [Thu, 18 Dec 2014 20:32:14 +0000 (14:32 -0600)]
TI: armv7: enable UUID and PART
Enable UUID and partition support for scripted handling platforms with
MMC and eMMC and varied partitioning schemes
And remove it from headers that end up redefining it.
Signed-off-by: Nishanth Menon <[email protected]>
Nishanth Menon [Thu, 18 Dec 2014 21:28:36 +0000 (15:28 -0600)]
Revert "ARM: omap4: Update sdram setting for panda rev A6"
This reverts commit
47a4bea6af77b01d59a410d09a4c34b2dd14cf50.
Signed-off-by: Nishanth Menon <[email protected]>
Nishanth Menon [Thu, 18 Dec 2014 21:28:35 +0000 (15:28 -0600)]
ARM: OMAP4: Panda: rework DMM logic
Part of DMM logic is reuse from commit
47a4bea6af77b01d59a410d09a4c34b2dd14cf50 ("ARM: omap4: Update sdram
setting for panda rev A6") Which broke SDP4430 with ES2.3 (uses old
DDR).
So, to maintain support for newer DDR used in Panda ES rev B3, we
should, in addition to the commit
675cc77a3ae45e8b0ec17128563264d4a509f628 ("ARM:OMAP4+: panda-es: Support
Rev B3 Elpida DDR2 RAM"), DDR timings, also do DMM configuration
specific to Panda.
Signed-off-by: Nishanth Menon <[email protected]>
Tom Rini [Fri, 19 Dec 2014 21:52:55 +0000 (16:52 -0500)]
omap-common/hwinit-common.c: timer_init() doesn't need to touch gd
The gd will be cleared at first so we don't need to set arch.tbl to 0.
In addition, the checks later against lastinc also work fine with an
initial value of 0 here. This also brings us in line with sunxi code
for example.
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tom Rini [Fri, 19 Dec 2014 21:52:54 +0000 (16:52 -0500)]
am33xx: Drop timer_init call from s_init
In both SPL and non-SPL cases we will make a call to timer_init() early
on and do not need to call it again within s_init().
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tom Rini [Fri, 19 Dec 2014 21:52:53 +0000 (16:52 -0500)]
socfpga: Drop redundant save_boot_params
The save_boot_params function here is the same as the default weak one
from arch/arm/cpu/armv7/start.S, drop.
Cc: Dinh Nguyen <[email protected]>
Cc: Vince Bridgers <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Marek Vasut <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Hua Yanghao [Sun, 21 Dec 2014 20:45:59 +0000 (04:45 +0800)]
cmd_fdt: fix working_fdt is set to wrong value
Instead of setting working_fdt to map_sysmem(addr) (e.g. blob), it should be set
to addr directly as inside set_working_fdt_addr it uses map_sysmem(addr) again.
To test: ./u-boot -d dts/dt.bin , then issue: fdt addr 0x100, fdt print will
then cause an segmentation fault. After this fix fdt print is functional.
Ian Campbell [Sun, 21 Dec 2014 09:45:11 +0000 (09:45 +0000)]
ARM: bootm: do not add PSCI to fdt when booting in secure mode.
Commit
8bc347e2ec17 "ARM: bootm: Allow booting in secure mode on hyp capable
systems" added the capability to select nonsec vs sec mode boot via an
environment var.
There is a subtle gotcha with this functionality, which is that the PSCI nodes
are still created in the fdt (via armv7_update_dt->fdt_psci) even when booting
in secure mode. Which means that if the kernel is PSCI aware then it will fail
to boot because it will try and do PSCI from secure world, which won't work.
This likely didn't get noticed before because the original purpose was to
support booting the legacy linux-sunxi kernels which don't understand PSCI.
To fix expose boot_nonsec (renaming with armv7_ prefix) outside of bootm.c and
use from the virt-dt code.
As well as avoiding the creation of the PSCI nodes we should also avoid
reserving the secure RAM, so do so.
Signed-off-by: Ian Campbell <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
Cc: Tom Rini <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Anthoine Bourgeois [Wed, 24 Dec 2014 00:11:49 +0000 (01:11 +0100)]
devkit8000: convert to use generic board code
Signed-off-by: Anthoine Bourgeois <[email protected]>
Alexey Brodkin [Fri, 26 Dec 2014 08:03:15 +0000 (11:03 +0300)]
cmd_bdinfo: check for CONFIG_ARC instead of CONFIG_ARC700
For all flavours of ARC we execute the same code in "bdinfo" so we may
safely check for CONFIG_ARC. This is especially important since we're
about to add more types of ARC so existing check won't work in all
cases.
Signed-off-by: Alexey Brodkin <[email protected]>
Cc: Tom Rini <[email protected]>
Nikita Kiryanov [Wed, 31 Dec 2014 13:00:56 +0000 (15:00 +0200)]
arm: omap3: cm-t35: convert to generic board
Convert cm-t35 to generic board.
Cc: Igor Grinberg <[email protected]>
Cc: Tom Rini <[email protected]>
Signed-off-by: Nikita Kiryanov <[email protected]>
Acked-by: Igor Grinberg <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:31 +0000 (23:26 +0900)]
powerpc: mpc824x: remove MPC824X cpu support
All the MPC824X boards are still non-generic boards:
A3000, CPC45, CU824, eXalion, MVBLUE, MUSENKI, Sandpoint824x, utx8245
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Josef Wagner <[email protected]>
Cc: Torsten Demke <[email protected]>
Cc: Jim Thompson <[email protected]>
Cc: Greg Allen <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:30 +0000 (23:26 +0900)]
mpc8260: remove atc board support
These boards are still non-generic boards.
drivers/rtc/ds12887.c should also be removed because it can not
be built without CONFIG_ATC.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:29 +0000 (23:26 +0900)]
mpc8260: remove CPU86, CPU87 board support
These boards are still non-generic boards.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:28 +0000 (23:26 +0900)]
mpc8260: remove ep82xxm board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:27 +0000 (23:26 +0900)]
mpc8260: remove gw8260 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Oliver Brown <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:26 +0000 (23:26 +0900)]
mpc8260: remove IPHASE4539 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Grandegger <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:25 +0000 (23:26 +0900)]
mpc8260: remove muas3001 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Heiko Schocher <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:24 +0000 (23:26 +0900)]
mpc8260: remove PM825, PM826, PM828 board support
These boards are still non-generic boards.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:23 +0000 (23:26 +0900)]
mpc8260: remove MPC8266ADS board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Rune Torgersen <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:22 +0000 (23:26 +0900)]
mpc8260: remove VoVPN-GW board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:21 +0000 (23:26 +0900)]
mpc8260: remove ep8260 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Frank Panno <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:20 +0000 (23:26 +0900)]
mpc8260: remove ppmc8260 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Brad Kemp <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:19 +0000 (23:26 +0900)]
mpc8260: remove sacsng board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Jerry Van Baren <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:18 +0000 (23:26 +0900)]
powerpc: remove cogent_8xx, cogent_mpc8260 board support
These boards are still non-generic boards.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Murray Jensen <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:17 +0000 (23:26 +0900)]
mpc8xx: remove ESTEEM192E board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Conn Clark <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:16 +0000 (23:26 +0900)]
mpc8xx: remove IP860 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:15 +0000 (23:26 +0900)]
mpc8xx: remove IVMS8, IVML24 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:14 +0000 (23:26 +0900)]
mpc8xx: remove lwmon board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:13 +0000 (23:26 +0900)]
mpc8xx: remove NETVIA board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:12 +0000 (23:26 +0900)]
mpc8xx: remove R360MPI board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:11 +0000 (23:26 +0900)]
mpc8xx: remove RRvision board support
This board is still a non-generic board.
Unused code in arch/powerpc/cpu/mpc8xx/video.c should be also deleted
because CONFIG_VIDEO_ENCODER_AD7176, CONFIG_VIDEO_ENCODER_AD7177,
CONFIG_VIDEO_ENCODER_AD7179 are not defined any more.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:10 +0000 (23:26 +0900)]
mpc8xx: remove SPD823TS board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:09 +0000 (23:26 +0900)]
mpc8xx: remove KUP4X, KUP4K board support
These boards are still non-generic boards.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Klaus Heydeck <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:08 +0000 (23:26 +0900)]
mpc8xx: remove ELPT860 board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: The LEOX team <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:07 +0000 (23:26 +0900)]
powerpc: manroland: remove uc100, uc101, mucmc52, hmi1001 support
These boards are still non-generic boards.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Stefan Roese <[email protected]>
Masahiro Yamada [Mon, 15 Dec 2014 14:26:06 +0000 (23:26 +0900)]
mpc8xx: remove FPS{850, 860}L, NSCU, SM850, TK885D, virtlab2 support
These boards are still non-generic boards.
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Tom Rini [Sun, 4 Jan 2015 21:09:19 +0000 (16:09 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-arm
Tom Rini [Fri, 2 Jan 2015 12:42:58 +0000 (07:42 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-spi
Tom Rini [Thu, 1 Jan 2015 20:10:39 +0000 (15:10 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-tegra
Tom Rini [Wed, 31 Dec 2014 20:10:36 +0000 (15:10 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-usb
Conflicts:
include/configs/arndale.h
Signed-off-by: Tom Rini <[email protected]>
Rene Griessl [Fri, 7 Nov 2014 15:53:49 +0000 (16:53 +0100)]
usb: eth: enable AX88179 DRIVER for ARNDALE 5250
Patch enables AX88179 driver for ARNDALE 5250
Signed-off-by: Rene Griessl <[email protected]>
Rene Griessl [Fri, 7 Nov 2014 15:53:48 +0000 (16:53 +0100)]
usb: eth: add ASIX AX88179 DRIVER
This patch adds driver support for the ASIX AX88179 USB3.0 to GbE network
adapter.
Driver has been tested on the RECS5250 COM module (similar to ARDALE5250).
Testcase was DHCP and PXE boot.
Signed-off-by: Rene Griessl <[email protected]>
Peng Fan [Tue, 30 Dec 2014 03:14:51 +0000 (11:14 +0800)]
imx:mx6slevk add spi nor boot support
Add spi nor boot support for mx6slevk board.
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Peng Fan [Wed, 31 Dec 2014 03:01:40 +0000 (11:01 +0800)]
imx:mx6sxsabresd add qspi support
Configure the pad setting and enable qspi clock to support qspi
flashes access.
Add QSPI related macro in configuration header file.
Note:
mx6sxsabresd Revb board, 32M flash is used, but in header file,
CONFIG_SPI_FLASH_BAR is not defined, and we still use SZ_16M.
The LUT initialization qspi_set_lut function uses 32BIT addr,
however CONFIG_SPI_FLASH_BAR and 24BIT addr should be used to
access bigger than 16MB size flash, and BRRD/BRWR should also
be supported. Future patches will fix this.
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Peng Fan [Wed, 31 Dec 2014 03:01:39 +0000 (11:01 +0800)]
imx:qspi add 4K erase support
Add 4k erase command support for qspi driver. reuse the 64k erase function,
but change the function name from qspi_op_se to qspi_op_erase, since it
supports 64k and 4k erase.
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Peng Fan [Wed, 31 Dec 2014 03:01:38 +0000 (11:01 +0800)]
arm:mx6sx add QSPI support
Add QSPI support for mx6solox.
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Peng Fan [Wed, 31 Dec 2014 03:01:37 +0000 (11:01 +0800)]
QuadSPI: use correct amba_base
According cs, use different amba_base to choose the corresponding
flash devices. If not, `sf probe 1:0` and `sf probe 1:1` will
choose the same flash device, but not different flash devices.
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Peng Fan [Wed, 31 Dec 2014 03:01:36 +0000 (11:01 +0800)]
QuadSPI: use QSPI_CMD_xx instead of flash opcodes
Use QSPI_CMD_xx instead of flash opcodes
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
Tom Rini [Tue, 30 Dec 2014 21:42:23 +0000 (16:42 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
Tom Rini [Tue, 30 Dec 2014 17:17:18 +0000 (12:17 -0500)]
Merge branch 'master' of git://denx.de/git/u-boot-imx
Tom Rini [Tue, 30 Dec 2014 14:11:56 +0000 (09:11 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
Tom Rini [Tue, 30 Dec 2014 14:11:42 +0000 (09:11 -0500)]
Merge branch 'master' of git://git.denx.de/u-boot-samsung
Fabio Estevam [Mon, 29 Dec 2014 20:05:44 +0000 (18:05 -0200)]
mx6slevk: Remove get_board_rev()
get_board_rev() just returns the cpu revision, which does not make it really
useful for distinguishing between revisions of the board.
Let's get rid of get_board_rev() as it is not being used with its correct
meaning.
Signed-off-by: Fabio Estevam <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:23 +0000 (14:09 +0100)]
arm: mx6: novena: Add proper LVDS display support
Repair the register configuration and add proper support for the
display attached to both LVDS channels.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:22 +0000 (14:09 +0100)]
arm: mx6: novena: Pull video handling into separate file
Pull all of the video handling into a separate file, since a lot
more code will be added and such code would polute the board file.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:21 +0000 (14:09 +0100)]
arm: mx6: novena: Pull GPIO definitions into header
Pull the definitions of GPIOs into a separate header file, so that
they can be used across all source files.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:20 +0000 (14:09 +0100)]
arm: mx6: novena: Minor config file fix
Sequence like the following is completely useless and results from
an errorneous ordering of the statements during development. Zap it.
#ifdef FOO
#define FOO
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:19 +0000 (14:09 +0100)]
arm: mx6: novena: Minor coding style fix
Just zap multiple spaces and replace them with tabs properly.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:18 +0000 (14:09 +0100)]
arm: mx6: novena: Define CONFIG_SYS_MALLOC_F_LEN
This board uses setup_i2c() in SPL. The setup_i2c() function internally
calls gpio_request(), which in turn internally calls strdup(). The strdup()
requires a running mallocator, so this patch makes the mallocator available.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:17 +0000 (14:09 +0100)]
arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN
This board uses setup_i2c() in SPL. The setup_i2c() function internally
calls gpio_request(), which in turn internally calls strdup(). The strdup()
requires a running mallocator, so this patch makes the mallocator available.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Marek Vasut [Tue, 16 Dec 2014 13:09:16 +0000 (14:09 +0100)]
imx: i2c: Zap unnecessary malloc() calls
The malloc() calls are unnecessary, just allocate the stuff on stack.
While at it, reorder the code a little, so that only one variable is
used for the text, use snprintf() instead of sprintf() and use %01d
as a formatting string to avoid any possible overflows.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Sean Cross <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Iain Paton [Sun, 14 Dec 2014 14:51:46 +0000 (14:51 +0000)]
embestmx6boards: convert to use config_distro_bootcmd.h
Since the Riot & Mars boards are dev boards it's likely people will want to
run standard distros on them. So replace the current boot scripts with the
standard one from config_distro_bootcmd.h
Signed-off-by: Iain Paton <[email protected]>
Tested-by: Nikolay Dimitrov <[email protected]>
Iain Paton [Sun, 14 Dec 2014 14:51:32 +0000 (14:51 +0000)]
embestmx6boards: convert to use config_distro_defaults.h
Update to use config_distro_defaults.h and remove explicit settings
Signed-off-by: Iain Paton <[email protected]>
Tested-by: Nikolay Dimitrov <[email protected]>
Pierre Aubert [Fri, 12 Dec 2014 13:38:22 +0000 (14:38 +0100)]
imx SPL: enable boot from eMMC boot partitions.
Signed-off-by: Pierre Aubert <[email protected]>
Stefano Babic [Tue, 30 Dec 2014 12:04:09 +0000 (13:04 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <[email protected]>
Masahiro Yamada [Fri, 19 Dec 2014 11:20:54 +0000 (20:20 +0900)]
ARM: UniPhier: display boot swap pin status by pinmon command
This information would be useful enough.
Signed-off-by: Masahiro Yamada <[email protected]>
Masahiro Yamada [Fri, 19 Dec 2014 11:20:53 +0000 (20:20 +0900)]
ARM: UniPhier: add dump command of DDR PHY parameters
This commit adds a dump command of DDR PHY parameters of UniPhier
SoC family. It might not be used very often for the regular operation
but it would be useful when something goes wrong with DDR memories.
Signed-off-by: Masahiro Yamada <[email protected]>
Masahiro Yamada [Fri, 19 Dec 2014 11:20:52 +0000 (20:20 +0900)]
ARM: UniPhier: add DDR PHY training code
This training code provides run-time adjustment of DDR PHY parameters
for stable DDR operation.
Signed-off-by: Masahiro Yamada <[email protected]>
Sjoerd Simons [Mon, 29 Dec 2014 21:17:10 +0000 (22:17 +0100)]
Exynos: Move down common USB configuration
USB is a pretty common feature on exynos 5 board, so it seems sensible
to configure it directly from exynos5-common. As a side-effect this
makes USB available from u-boot on exynos 5420 based boards.
While there enable support for common USB ethernet cards to make it more
likely the default config allows booting for network and enable XHCI on
SMDK5420 which has it defined in the dts but not in its config.
Signed-off-by: Sjoerd Simons <[email protected]>
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Tom Rini [Tue, 30 Dec 2014 02:22:38 +0000 (21:22 -0500)]
Prepare v2015.01-rc4
Signed-off-by: Tom Rini <[email protected]>
Dirk Behme [Tue, 23 Dec 2014 06:41:26 +0000 (07:41 +0100)]
buildman: Fix some typos in README
Signed-off-by: Dirk Behme <[email protected]>
Acked-by: Simon Glass <[email protected]>
Nikolay Dimitrov [Fri, 12 Dec 2014 18:01:23 +0000 (20:01 +0200)]
Fix hash verification
Fix issue in parse_verify_sum() which swaps handling of env-var and *address.
Move hash_command() argc check earlier.
Cosmetic change on do_hash() variable declaration.
Improved help message for "hash" command.
Signed-off-by: Nikolay Dimitrov <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Kevin Hilman [Tue, 9 Dec 2014 23:03:58 +0000 (15:03 -0800)]
common/board_f.c: fix compile error when tracing disabled
When CONFIG_TRACE is disabled, linking fails with:
common/built-in.o:(.data.init_sequence_f+0x8): undefined reference to `trace_early_init'
To fix, wrap the call to trace_early_init() with #ifdef CONFIG_TRACE.
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Steve Rae [Tue, 9 Dec 2014 19:40:11 +0000 (11:40 -0800)]
bcm281xx: add support for "USB OTG clock"
enable this clock with the following:
clk_usb_otg_enable((void *)HSOTG_BASE_ADDR)
Signed-off-by: Steve Rae <[email protected]>
Reviewed-by: Felipe Balbi <[email protected]>
Alexey Brodkin [Sat, 27 Dec 2014 22:35:57 +0000 (01:35 +0300)]
initcall: add explicit hint if initcall was relocated
Commit "initcall: Improve debugging support" makes sense and indeed
simplifies process of matching initcalls executed with static
disassembly.
Until you are debugging relocation functionality.
Existign output may make you think that at some point execution somehow
returned back to non-relocated area. And there're many reasons/problems
that may provoke this behavior.
In order to make things clear let's add explicit mention in case initall
was actually relocated like this:
--->---
initcall:
810015f8
Relocation Offset is:
0efcf000
Relocating to
8ffcf000, new gd at
8fdced3c, sp at
8fdced20
initcall:
810015b8
initcall:
8ffd093c
initcall:
8ffd0a14
initcall:
81001940 (relocated to
8ffd0940)
initcall:
81001958 (relocated to
8ffd0958)
--->---
Note "unexpected" jump from 0x8f... area to 0x81... area.
Without explanation this raises many questions: execution jumped in
relocated area right as expected and then for some reason returned back?
But I hope comment in brackets will save some time for those curious
developers who are careful enough to catch "unexpected jump to pre-reloc
area" or those unlucky ones who'll have to deal with relocation
debugging.
Signed-off-by: Alexey Brodkin <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Minkyu Kang <[email protected]>
Masahiro Yamada [Thu, 25 Dec 2014 02:09:44 +0000 (11:09 +0900)]
scripts: fix binutils-version.sh
The current binutils-version.sh expects the version string at the end
of the first line. It turned out to not work with Linaro toolchain:
It has "Linaro 2014.09" at the back.
To fix this issue, let's parse the word right after the close
parenthesis.
Signed-off-by: Masahiro Yamada <[email protected]>
Reported-by: York Sun <[email protected]>
Acked-by: Dirk Behme <[email protected]>
Stephen Warren [Wed, 24 Dec 2014 03:01:44 +0000 (20:01 -0700)]
ARM: rpi: consolidate board rev error checking
Create a fake model table entry with default values, so we can error
check the board rev value once when querying it from the firmware, rather
than error-checking for invalid board rev values every time the model
table is used.
Signed-off-by: Stephen Warren <[email protected]>
Stephen Warren [Wed, 24 Dec 2014 03:01:43 +0000 (20:01 -0700)]
ARM: rpi: support model A+
Add a board rev entry for the new model A+, and augment the board
rev error handling code to be a bit more verbose.
Signed-off-by: Stephen Warren <[email protected]>
Stephen Warren [Sat, 6 Dec 2014 03:56:46 +0000 (20:56 -0700)]
ARM: rpi: only set usbethaddr on relevant systems
Model A and CM RPis don't have an on-board USB Ethernet device. Hence,
there's no point setting $usbethaddr based on the device fuses. Use the
model detection code to gate this. Note that the fuses are actually
programmed even on those devices though.
Signed-off-by: Stephen Warren <[email protected]>
Linus Walleij [Wed, 24 Dec 2014 01:02:46 +0000 (02:02 +0100)]
vexpress64: switch to generic board
The few Versatile Express ARMv8 platforms we have may just as
well be switched to generic board from the beginning.
Tested on the ARM foundation model and the in progress support
for the ARMv8 Juno board.
Signed-off-by: Linus Walleij <[email protected]>
Acked-by: Steve Rae <[email protected]>
Linus Walleij [Wed, 24 Dec 2014 01:02:19 +0000 (02:02 +0100)]
vexpress64: take over maintenance of the semi vexpress64
As agreed with Steve Rae I'm taking over maintenance of the
semihosted, emulated FVP/foundation model Versatile Express
64 bit board variant.
Signed-off-by: Linus Walleij <[email protected]>
Acked-by: Steve Rae <[email protected]>
Linus Walleij [Mon, 15 Dec 2014 10:06:05 +0000 (11:06 +0100)]
arm: semihosting: get rid of forward declarations
By rearranging the functions in the semihosting code we can
avoid forward-declaration of the internal static functions.
This puts the stuff in a logical order: read/open/close/len
and then higher-order functions follow at the end.
Cc: Darwin Rambo <[email protected]>
Cc: AKASHI Takahiro <[email protected]>
Cc: Mark Hambleton <[email protected]>
Cc: Tom Rini <[email protected]>
Acked-by: Steve Rae <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Linus Walleij [Mon, 15 Dec 2014 10:05:56 +0000 (11:05 +0100)]
arm: semihosting: fix up compile bugs
There is currently a regression when using newer ARM64 compilers
for semihosting: the way long types are inferred from context
is no longer the same.
The semihosting runtime uses long and size_t, so use this
explicitly in the semihosting code and interface, and voila:
the code now works again.
Tested with aarch64-linux-gnu-gcc: Linaro GCC 4.9-2014.09.
Cc: Darwin Rambo <[email protected]>
Cc: AKASHI Takahiro <[email protected]>
Cc: Mark Hambleton <[email protected]>
Cc: Tom Rini <[email protected]>
Acked-by: Steve Rae <[email protected]>
Suggested-by: Mark Hambleton <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Linus Walleij [Mon, 15 Dec 2014 10:05:43 +0000 (11:05 +0100)]
arm: semihosting: staticize internal functions
The semihosting code exposes internal file handle handling
functions to read(), open(), close() and get the length of
a certain file handle.
However the code using it is only interested in either
reading and entire named file into memory or getting the
file length of a file referred by name. No file handles
are used.
Thus make the file handle code internal to this file by
removing these functions from the semihosting header file
and staticize them.
This gives us some freedom to rearrange the semihosting
code without affecting the external interface.
Cc: Darwin Rambo <[email protected]>
Cc: AKASHI Takahiro <[email protected]>
Cc: Mark Hambleton <[email protected]>
Cc: Tom Rini <[email protected]>
Acked-by: Steve Rae <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Tom Rini [Mon, 29 Dec 2014 03:09:27 +0000 (22:09 -0500)]
Merge branch 'rmobile' of git://git.denx.de/u-boot-sh
Nobuhiro Iwamatsu [Mon, 10 Nov 2014 00:23:46 +0000 (09:23 +0900)]
arm: rmobile: kconfig: Remove '+S:' prefix from defconfig files
'+S' is unnecessary because boards of rmobile do not use SPL.
This removes from armadillo-800eva and kzm9g.
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Joonyoung Shim [Mon, 22 Dec 2014 10:46:30 +0000 (19:46 +0900)]
arm: exynos: clock: support SPLL as mmc source clock for exynos5420
MMC of exynos5420 can select SPLL as source clock, so add to support
SPLL in exynos5420_get_mmc_clk(). It was tested on Odroid-XU3 board.
Signed-off-by: Joonyoung Shim <[email protected]>
Acked-by: Jaehoon Chung <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Sjoerd Simons [Fri, 5 Dec 2014 20:46:41 +0000 (21:46 +0100)]
ARM: exynos5420: Leave VBUS GPIO configuration up to common code
Since commit
4a271cb1b4ffdf330 (exynos: usb: Switch USB VBUS GPIOs to be
device tree configured) it's not needed for the board specific files to
turn on the VBUS GPIO by hand as that gets done based on device tree. So
drop the redundant code from the SMDK5420 board file.
Signed-off-by: Sjoerd Simons <[email protected]>
Acked-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>